How do you print raw UTF-8 characters from their numbers? [PHP]

Posted by Xeoncross on Stack Overflow See other posts from Stack Overflow or by Xeoncross
Published on 2010-05-01T00:59:36Z Indexed on 2010/05/01 1:07 UTC
Read the original article Hit count: 227

Filed under:
|
|

Say I wanted to print a ÿ (latin small y with diaeresis) from it's Unicode/UTF-8 number of "U+00FF" or hex of "c3 bf". How can I do that in PHP?

Note: In order for it show correctly in a browser I know that the first step is

header('Content-Type: text/html; charset=utf-8');

© Stack Overflow or respective owner

Related posts about utf8

Related posts about php